package com.gulimall.auth.server.client;

import com.dtflys.forest.annotation.DataObject;
import com.dtflys.forest.annotation.Request;
import com.gulimall.auth.server.vo.WeiboAccessToken;

import java.util.Map;

/**
 * @author djg
 * @date 2020/8/29
 * @des
 */
public interface WeiboClient {

    @Request(url = "https://api.weibo.com/oauth2/access_token", type = "post",dataType="json")
    WeiboAccessToken getAccessToken(@DataObject Map<String, String> map);
}
